package com.rede.didiok.sms.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.rede.didiok.common.handler.HandlerExceptionResolver;


/**
 * 全局异常处理配置
 *
 * @author 陌溪
 * @date 2020年10月4日10:44:17
 */
@Configuration
public class GlobalExceptionConfig {

    @Bean
    public HandlerExceptionResolver getHandlerExceptionResolver() {
        return new HandlerExceptionResolver();
    }
}
